minimum absolute difference in an array solution

welcome to shbcf.ru